﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nuzzle.Managers
{
    public static class AccountManager
    {
        public static List<Database.Models.CharacterModel> GetCharactersForAccount(int accountID)
        {
            lock (Database.DatabaseCache.CharactersCache)
            {
                return Database.DatabaseCache.CharactersCache.FindAll(x => x.Owner == accountID);
            }
        }
    }
}
